package javax.realtime;

/* loaded from: classes2.dex */
public class MemoryArea {
    static final MemoryArea DEFAULT = new MemoryArea();

    private MemoryArea() {
    }

    public static MemoryArea getMemoryArea(Object obj) {
        return DEFAULT;
    }

    public void executeInArea(Runnable runnable) {
        runnable.run();
    }

    public Object newInstance(Class cls) throws InstantiationException, IllegalAccessException {
        return cls.newInstance();
    }
}
